package com.coreJava.test01;

import org.springframework.context.annotation.Conditional;

import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * 作者: LCG
 * 日期: 2019/9/4 09:34
 * 描述:
 */
public class MyRejectedExecutionHandler implements RejectedExecutionHandler {
    @Override
    public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
        //处理拒绝入队的线程

    }
}
